import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);
import modulesA from "./modules/modulea"
export default new Vuex.Store({
    // state: {},
    // getters: {},
    // mutations: {},
    // actions: {},
    // modules: {},
    modules: { //对state 进行分模块
        a: modulesA //a 命名空间加了 属于封闭式的
    }
});